import requests


headers = {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9",
    "cache-control": "no-cache",
    "pragma": "no-cache",
    "referer": "https://uland.taobao.com/sem/tbsearch?bc_fl_src=tbsite_T9W2LtnM&channelSrp=bingSomama&clk1=9a83f75a4d023f4905c20331bb00957c&commend=all&ie=utf8&initiative_id=tbindexz_20170306&keyword=%E5%A5%B3%E8%A3%85&localImgKey=&msclkid=1129c824fe8b1370be32a05b9a69dc88&page=1&preLoadOrigin=https%3A%2F%2Fwww.taobao.com&q=%E5%A5%B3%E8%A3%85&refpid=mm_2898300158_3078300397_115665800437&search_type=item&sourceId=tb.index&spm=tbpc.pc_sem_alimama%2Fa.search_manual.0&ssid=s5-e&tab=all",
    "sec-ch-ua": "\"Not)A;Brand\";v=\"8\", \"Chromium\";v=\"138\", \"Google Chrome\";v=\"138\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "script",
    "sec-fetch-mode": "no-cors",
    "sec-fetch-site": "same-site",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"
}
cookies = {
    "t": "9154241c6313f40740623427dddcd318",
    "thw": "cn",
    "cna": "aq4AIXpUdAcCAdOebvL5KPHl",
    "cookie2": "16446da6862a7688bc0d94434e2fca80",
    "_tb_token_": "e67fe03e7310a",
    "mtop_partitioned_detect": "1",
    "_m_h5_tk": "5c1c9e8ce9c9a6f18499ff17965dea4c_1753188378885",
    "_m_h5_tk_enc": "ede3dfb2d7551437c5451b6cd3f3dfb7",
    "xlly_s": "1",
    "tfstk": "gz0iFWXqHcr_uVpLv2a6fSAlW5-L-PabExQYHre2YJyCXrKsMSmnNx29Ghatx-DEKR791fH3gxcjXCZvCsfs-YbAWdtsgZ4YuLpJyUh16ra2eVEdhi6_MSNNbtQw8PNA63yEcUhs165G3QneysDq1BrV0-k48kP8NrP4uoR3Y7F4uNrV7MWUdJzV7l7w8kPu_i7a_xletSwU3rrZ3yR3Gbhp_RHse2J0QUU_bW65s5ZgUfyhrXga_sFkP-b4S2PTjqoLKWFK-5qgUoozuvgZpjut5ktGbrGKqxmqUpITQ0VoKunMENDoCSl0gAY5ZJuii2qsvOSaZP2g4VkFNwaQ0D03WVJfVXh3Qu4KvH9TDPDiV8ZwApMmtRHqSkWMp-n-9VrnUpQnhomqWyuwLUjyRMSycdQbTI3FciZaOW28lVuc8lpHUXOHtgrbbWN6-BAhciZaOW2JtBjrhlPQ1ef..",
    "isg": "BMHBHpubTW-3rqFdU63F6CUe0A3b7jXg4Sm3HyMeUEngCu3cbjtmsKBM7H5MAs0Y"
}
url = "https://h5api.m.taobao.com/h5/mtop.relationrecommend.wirelessrecommend.recommend/2.0/"
params = {
    "jsv": "2.7.2",
    "appKey": "12574478",
    "t": "1753184444337",
    "sign": "c35c38f5ed817db05ed09531a6e6a053",
    "api": "mtop.relationrecommend.wirelessrecommend.recommend",
    "v": "2.0",
    "type": "jsonp",
    "dataType": "jsonp",
    "callback": "mtopjsonp24",
    "data": "{\"appId\":\"43356\",\"params\":\"{\\\"device\\\":\\\"HMA-AL00\\\",\\\"isBeta\\\":\\\"false\\\",\\\"grayHair\\\":\\\"false\\\",\\\"from\\\":\\\"nt_history\\\",\\\"brand\\\":\\\"HUAWEI\\\",\\\"info\\\":\\\"wifi\\\",\\\"index\\\":\\\"4\\\",\\\"rainbow\\\":\\\"\\\",\\\"schemaType\\\":\\\"auction\\\",\\\"elderHome\\\":\\\"false\\\",\\\"isEnterSrpSearch\\\":\\\"true\\\",\\\"newSearch\\\":\\\"false\\\",\\\"network\\\":\\\"wifi\\\",\\\"subtype\\\":\\\"\\\",\\\"hasPreposeFilter\\\":\\\"false\\\",\\\"prepositionVersion\\\":\\\"v2\\\",\\\"client_os\\\":\\\"Android\\\",\\\"gpsEnabled\\\":\\\"false\\\",\\\"searchDoorFrom\\\":\\\"srp\\\",\\\"debug_rerankNewOpenCard\\\":\\\"false\\\",\\\"homePageVersion\\\":\\\"v7\\\",\\\"searchElderHomeOpen\\\":\\\"false\\\",\\\"search_action\\\":\\\"initiative\\\",\\\"sugg\\\":\\\"_4_1\\\",\\\"sversion\\\":\\\"13.6\\\",\\\"style\\\":\\\"list\\\",\\\"ttid\\\":\\\"600000@taobao_pc_10.7.0\\\",\\\"needTabs\\\":\\\"true\\\",\\\"areaCode\\\":\\\"CN\\\",\\\"vm\\\":\\\"nw\\\",\\\"countryNum\\\":\\\"156\\\",\\\"m\\\":\\\"pc_sem\\\",\\\"page\\\":1,\\\"n\\\":48,\\\"q\\\":\\\"%E5%A5%B3%E8%A3%85\\\",\\\"qSource\\\":\\\"manual\\\",\\\"pageSource\\\":\\\"tbpc.pc_sem_alimama/a.search_manual.0\\\",\\\"tab\\\":\\\"all\\\",\\\"pageSize\\\":48,\\\"totalPage\\\":100,\\\"totalResults\\\":4800,\\\"sourceS\\\":\\\"0\\\",\\\"sort\\\":\\\"_coefp\\\",\\\"bcoffset\\\":\\\"\\\",\\\"ntoffset\\\":\\\"\\\",\\\"filterTag\\\":\\\"\\\",\\\"service\\\":\\\"\\\",\\\"prop\\\":\\\"\\\",\\\"loc\\\":\\\"\\\",\\\"start_price\\\":null,\\\"end_price\\\":null,\\\"startPrice\\\":null,\\\"endPrice\\\":null,\\\"itemIds\\\":null,\\\"p4pIds\\\":null,\\\"categoryp\\\":\\\"\\\",\\\"myCNA\\\":\\\"aq4AIXpUdAcCAdOebvL5KPHl\\\",\\\"clk1\\\":\\\"9a83f75a4d023f4905c20331bb00957c\\\",\\\"refpid\\\":\\\"mm_2898300158_3078300397_115665800437\\\"}\"}"
}
response = requests.get(url, headers=headers, cookies=cookies, params=params)

print(response.text)
print(response)